export default {
    path: '/employees',
    component: () => import('../pages/homepage'),
    children: [
        {
            path: '',
            component: () => import('../pages/employees')
        },
        {
            path: 'detail/:id?',
            component: () => import('../pages/employees/detail.vue')
        },
        {
            path: 'print/:id?',
            component: () => import('../pages/employees/print.vue')
        },
    ],
meta: {
    label: '员工',
    path: '/employees',
}
}
// export default {
//     path: '/employees',
//     component: () => import('../pages/homepage'),
//     children: [
//         { path: '', component: () => import('../pages/employees') },
//         // 访问http://localhost:8080/#/detail
//         // { path: '/detail', component: () => import('../pages/employees/detail.vue') }
//         // 访问http://localhost:8080/#/employees/detail
//         { path: 'detail/:id?', component: () => import('../pages/employees/detail.vue') },
//         { path: 'print/:id?', component: () => import('../pages/employees/print.vue') }
//     ],
//     meta: {
//         label: '员工',
//         path: '/employees',
//     }
// }